[INFO] cloning repository https://github.com/Nonull7/rust_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nonull7/rust_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNonull7%2Frust_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNonull7%2Frust_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1df1de54211a71a0e582ba0b3469252b2fe4904e
[INFO] checking Nonull7/rust_demo against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNonull7%2Frust_demo" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nonull7/rust_demo on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nonull7/rust_demo
[INFO] finished tweaking git repo https://github.com/Nonull7/rust_demo
[INFO] tweaked toml for git repo https://github.com/Nonull7/rust_demo written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/Nonull7/rust_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 376f1b5e72514c7eb9541e393310115d596e4c42009afefca03c3e106bf9b1bd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "376f1b5e72514c7eb9541e393310115d596e4c42009afefca03c3e106bf9b1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "376f1b5e72514c7eb9541e393310115d596e4c42009afefca03c3e106bf9b1bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "376f1b5e72514c7eb9541e393310115d596e4c42009afefca03c3e106bf9b1bd", kill_on_drop: false }`
[INFO] [stdout] 376f1b5e72514c7eb9541e393310115d596e4c42009afefca03c3e106bf9b1bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff6d04d2a73f4d98f35193945f79c407323d65f3edcde81c92330cb57152f6e6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ff6d04d2a73f4d98f35193945f79c407323d65f3edcde81c92330cb57152f6e6", kill_on_drop: false }`
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking rust_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     ///元组
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 53 |     let tup = (500, 7, 9.2);
[INFO] [stdout]    |     ------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     ///数组
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 60 |     let a = [11, 27, 43, 84, 6];
[INFO] [stdout]    |     ---------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     ///元组
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 53 |     let tup = (500, 7, 9.2);
[INFO] [stdout]    |     ------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     ///数组
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 60 |     let a = [11, 27, 43, 84, 6];
[INFO] [stdout]    |     ---------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str1`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let str1 = str1.len();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_str1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str2`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut str2 = str2.len();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let result: u32 = 20 * 60;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f1`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let f1: bool = false;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let index = 10;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut str2 = "1234567";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut str2 = str2.len();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loopControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn loopControl() {
[INFO] [stdout]     |    ^^^^^^^^^^^ help: convert the identifier to snake case: `loop_control`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `whileControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn whileControl() {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `while_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn forControl() {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `for_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str1`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let str1 = str1.len();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_str1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str2`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut str2 = str2.len();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let result: u32 = 20 * 60;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f1`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let f1: bool = false;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_f1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let index = 10;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut str2 = "1234567";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut str2 = str2.len();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loopControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn loopControl() {
[INFO] [stdout]     |    ^^^^^^^^^^^ help: convert the identifier to snake case: `loop_control`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `whileControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn whileControl() {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `while_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forControl` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn forControl() {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `for_control`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.47s
[INFO] running `Command { std: "docker" "inspect" "ff6d04d2a73f4d98f35193945f79c407323d65f3edcde81c92330cb57152f6e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff6d04d2a73f4d98f35193945f79c407323d65f3edcde81c92330cb57152f6e6", kill_on_drop: false }`
[INFO] [stdout] ff6d04d2a73f4d98f35193945f79c407323d65f3edcde81c92330cb57152f6e6
